package com.sbr.seb.entity.server;

import com.sbr.seb.entity.Server;

public class Tomcat extends Server {

	
	private static final String MANAGER_LIST_URL = "/manager/list";
	private static final String LOG_URL = "/simba/tomcatLogs/stdout_20091222.log";
	
	public Tomcat() {
		type = ServerType.TOMCAT6;
	}
	
	
	public String getManagerListUrl() {
		return "http://" + host + (port == null?"":":"+port) + MANAGER_LIST_URL;
	}
	
	public String getLogUrl() {
		return "http://" + host + (port == null?"":":"+port) + LOG_URL;
	}

	
	
}
